<?php
/**
 * 类名称
 * User: 13651
 * Time: 2025/9/16 17:29
 */

namespace App\Services;

use App\Extensions\BaseService;
use App\Repository\MerchantRepo;

class MerchantService extends BaseService
{
    /**
     * 根据手机号获取信息
     * @param string $phone
     * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Model|object|null
     */
    public function getByPhoneService(string $phone)
    {
        return MerchantRepo::getInstance()->getByPhone($phone);
    }
}